// 1.0 引入axios的二次封装
import request from '@/utils/request.js'

/*
 *  获取标识
 */
export function getCode(req) {
  return request.get('/auth/code', req)
}

/*
 *  登录请求
 */
export function login(req) {
  return request.post('/auth/login', req)
}
